package com.kma.summer2012.facade;

import com.kma.summer2012.model.CrumbsCatalogOfWork;

import java.util.List;
import java.util.Set;

public interface CatalogOfWorksFacade {

    List<String> getAllCategories();

    public boolean checkForSubcategory(int subCategoryId, CrumbsCatalogOfWork element);

    void deleteWorkItem(CrumbsCatalogOfWork workItem);

    void deleteWorkById(int id);

    //boolean deleteAllWorks(ArrayList<Integer> idList);
    boolean deleteAllWorks(Set<CrumbsCatalogOfWork> workSet);
}
